package com.lanbu.system.domain;


import com.lanbu.common.annotation.Excel;
import com.lanbu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户信息对象 sys_review_user
 *
 * @author ruoyi
 * @date 2024-09-23
 */
public class SysReviewUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请人ID */
    private Long applicantId;

    /** 用户id(审核通过的用户id) */
    @Excel(name = "用户id(审核通过的用户id)")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String userName;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    /** 审核人id */
    @Excel(name = "审核人id")
    private Long reviewerId;

    /** 审核人 */
    @Excel(name = "审核人")
    private String reviewer;

    /** 审核状态（0 审核成功  1未审核  2审核失败) */
    @Excel(name = "审核状态", readConverterExp = "0=审核成功,1=未审核,2=审核失败")
    private String examine;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setApplicantId(Long applicantId)
    {
        this.applicantId = applicantId;
    }

    public Long getApplicantId()
    {
        return applicantId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public String getNickName()
    {
        return nickName;
    }
    public void setPhonenumber(String phonenumber)
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber()
    {
        return phonenumber;
    }
    public void setReviewerId(Long reviewerId)
    {
        this.reviewerId = reviewerId;
    }

    public Long getReviewerId()
    {
        return reviewerId;
    }
    public void setReviewer(String reviewer)
    {
        this.reviewer = reviewer;
    }

    public String getReviewer()
    {
        return reviewer;
    }
    public void setExamine(String examine)
    {
        this.examine = examine;
    }

    public String getExamine()
    {
        return examine;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("applicantId", getApplicantId())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("userName", getUserName())
                .append("password", getPassword())
                .append("nickName", getNickName())
                .append("phonenumber", getPhonenumber())
                .append("reviewerId", getReviewerId())
                .append("reviewer", getReviewer())
                .append("examine", getExamine())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }


}
